﻿namespace TestTool.GUI.Data
{
    using System;
    using System.Collections.Generic;
    using System.Runtime.CompilerServices;
    using System.Xml;
    using System.Xml.Serialization;

    public class TestSettings
    {
        public TestSettings()
        {
            this.UseEmbeddedPassword = true;
            this.OperationDelay = 0x1388;
            this.Password1 = "OnvifTest123";
            this.Password2 = "OnvifTest321";
            this.RelayOutputDelayTimeMonostable = 20;
            this.SubscriptionTimeout = 60;
            this.SecureMethod = "GetUsers";
            this.SearchTimeout = 10;
            this.RetentionTime = "P1D";
        }

        [XmlIgnore]
        public List<object> AdvancedSettings { get; set; }

        public string EventTopic { get; set; }

        public string MetadataFilter { get; set; }

        public int OperationDelay { get; set; }

        public string Password1 { get; set; }

        public string Password2 { get; set; }

        public string PTZNodeToken { get; set; }

        public List<XmlElement> RawAdvancedSettings { get; set; }

        public string RecordingToken { get; set; }

        public int RecoveryDelay { get; set; }

        public int RelayOutputDelayTimeMonostable { get; set; }

        public string RetentionTime { get; set; }

        public int SearchTimeout { get; set; }

        public string SecureMethod { get; set; }

        public int SubscriptionTimeout { get; set; }

        public string TopicNamespaces { get; set; }

        public bool UseEmbeddedPassword { get; set; }

        public string VideoSourceToken { get; set; }
    }
}

